package a.h;

import javax.swing.*;
import java.awt.*;

class vd
  extends JButton
{
  private final ab a;
  private final boolean c;
  private final boolean e;
  
  vd(Color paramColor)
  {
    this(paramColor, true, true);
  }
  
  vd(Color paramColor, boolean paramBoolean1, boolean paramBoolean2)
  {
    this.e = paramBoolean1;
    this.a = new ab(paramColor);
    this.c = paramBoolean2;
    setIcon(this.a);
    setText(bc.a(paramColor, paramBoolean1, paramBoolean2));
    setMinimumSize(new Dimension(Math.max(getMinimumSize().width, 40), getMinimumSize().height));
  }
  
  public Color a()
  {
    return this.a.a();
  }
  
  public void a(Color paramColor)
  {
    Color localColor = this.a.a();
    this.a.a(paramColor);
    setIcon(this.a);
    setText(bc.a(paramColor, this.e, this.c));
    firePropertyChange("color", localColor, paramColor);
    repaint();
  }
}



/* Location:           E:\idea\

 * Qualified Name:     a.h.vd

 * JD-Core Version:    0.7.0.1

 */